package com.atguigu;

public class GeometriObject {
    protected String color;
    protected double weight;
    public String getColor() {
        return color;
    }
    public double getWeight() {
        return weight;
    }
    public void setColor(String color) {
        this.color = color;
    }
    public void setWeight(double weight) {
        this.weight = weight;
    }
    public GeometriObject() {
    }
    public GeometriObject(String color) {
        this.color = color;
    }
    public GeometriObject(double weight) {
        this.weight = weight;
    }
    public GeometriObject(String color, double weight) {
        this.color = color;
        this.weight = weight;
    }
    public double findArea(){
        return 0.0;
    }
}
